#!/bin/bash
# 
# File: sites.sh
# Purpose: print detected tunnel sites that have been confirmed to work
#

cd $(dirname "$0")
. ./common.sh

INSTALLDIR=$(cd "$(dirname "$0")"; pwd);
tunnelFolder=${INSTALLDIR}/${config_dir}; 
for file_a in ${tunnelFolder}/*; do 
	if test -f $file_a; then
		temp_file=`basename $file_a`  
		for tunnelsite in $(cut -d = -f 2 < ${file_a}); do	
			echo $temp_file'='$tunnelsite
		done
	fi
done
# eof
